home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / formats / moviebyu.txt < prev    next >
Internet Message Format  |  1991-03-14  |  2KB

  1. From drb@eecg.toronto.edu Fri Mar 15 08:22:08 1991
  2. From: drb@eecg.toronto.edu (David R. Blythe)
  3. Newsgroups: comp.graphics.visualization
  4. Subject: Re: apE and AVS pricing
  5. Keywords: apE, AVS
  6. Date: 14 Mar 91 04:32:02 GMT
  7. Organization: EECG, University of Toronto
  8.  
  9. In article <38945@netnews.upenn.edu> joe@retina.anatomy.upenn.edu (Joseph Panico) writes:
  10. >in MOVIE.BYU format. Where can I get MOVIE.BYU and the data formats for
  11. >both MOVIE.BYU and Wavefront's personal visualizer?
  12. >
  13. >                           Joe Panico
  14. >               joe@retina.anatomy.upenn.edu
  15.  
  16. The movie.byu geometry file format looks like this:
  17.  
  18.     write(iunit,80) npn,njn,nptn,nedge
  19.     write(iunit,80) ((npl(i,j),i=1,2),j=1,npn)
  20.     write(iunit,100) ((x(i,j),i=1,3),j=1,njn)
  21.     write(iunit,80) (jp(i),i=1,nedge)
  22.  80    format(10i8)
  23.  100    format(6e12.5)
  24.  
  25.  
  26. where npn = number of parts (geometric objects)
  27.       njn = number of nodes (total number of vertices)
  28.       nptn = number of polygons (total over all parts)
  29.       nedge = number of edges (total over all polygons in all parts)
  30.       npl = array of pairs of indices into connectivity array for
  31.         start polygon node and end polygon node for each part
  32.         (if there is 1 part then it is a single line = 1 and nedge)
  33.       x   = array of 3D vertices
  34.       jp  = connectivity array - indices of vertices in x array
  35.         making up a polygon with a negative index indicating the last
  36.         vertex of a polygon  (an n-sided polygon would have n entries in
  37.         the connectivity array and the n-th entry would be negated).
  38.  
  39. I have seen a number of programs that understand this format so its probably
  40. worth knowing.  So does anybody know the file formats for the personal
  41. visualizer?
  42.     david blythe
  43.     ontario centre for large scale computation
  44.     drb@clsc.utoronto.ca
  45.  
  46.